#if !defined(ximera_gui_itextbox_hpp)
#define ximera_gui_itextbox_hpp

// -----------------------------------------------------------

#include <ximera/gui/iwindow.hpp>

namespace ximera { namespace gui
{
    class XIMERA_API ITextbox : public IWindow
    {
    public:
        virtual ~ITextbox();

        virtual UInt32 maxLength() const = 0;
        virtual void maxLength(UInt32 value) = 0;

        virtual bool readOnly() const = 0;
        virtual void readOnly(bool value) = 0;

        virtual bool useMask() const = 0;
        virtual void useMask(bool value) = 0;

        virtual Char maskChar() const = 0;
        virtual void maskChar(Char c) = 0;
    };
}}

// -----------------------------------------------------------

#endif
